import { request } from '@@/plugin-request';

export function login(params: { userName: string; password: string }) {
  return request('/api/login', {
    method: 'GET',
    params,
  });
}
